import java.util.*;


public class JContent extends Observable{

	private String title;
	private String description;
	
	public JContent(String title, String description){
		this.title=title;
		this.description=description;
	}
	
	public String getDescription(){
		return description;
	}
	
	public void setDescription(String description){
		this.description=description;
		notifyObservers(description);
	}
	
	public String getTitle(){
		return title;
	}
	
	public void setTitle(String title){
		this.title=title;
		notifyObservers(title);
	}
	
}
